//测试People类
public class PeopleTest{
	public static void main(String[] args) {

		//验证static修饰的成员变量是否是类加载是加载的
		System.out.println("国籍 =" + People.nationality);

		//创建people对象并初始化
		People p1 = new People("liyulin",19,"中国");
		p1.show();

		People p2 = new People("tiantian",10,"越南");
		p2.show();


		System.out.println("----------------------------------");
		//验证static修饰的变量是否被所有对象共享
		People p3 = new People("gg",10,"英国");
		p1.show();
		p2.show();
		p3.show();


	}
}